<div class="form-pane">

  <div ng-if="loadingState === 'ERROR'" uib-alert class="alert alert-danger" role="alert">
    <span class="glyphicon glyphicon-exclamation-sign"></span>
    <strong class="status">{{ 'FORM_FAILURE' | translate }}</strong>
    <span class="message">{{ taskFormState.$error.message }}</span>
  </div>

  <div ng-if="loadingState === 'DONE'"
       cam-tasklist-form
       tasklist-form="taskForm"
       on-form-completion-callback="completionCallback"
       options="options"
       params="params" >
  </div>

</div>